<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>数据表格</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="static/bootstrap3.3.6/css/bootstrap.min.css">
    <link rel="stylesheet" href="static/fontawesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="static/lib/bootstrap-table.min.css">
    <link rel="stylesheet" href="static/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="static/style/admin.css" media="all">
    <link rel="stylesheet" href="static/style/mend.css">
    <link rel="stylesheet" href="static/style/layer-mend.css">
</head>

<body class="layerpage">
    <form action="" class="form-horizontal" role="form">
        <div class="layui-row formbtn">
            <button type="reset" class="btn btn-primary">重置</button>
            <button type="button" class="btn btn-success" id="submit">保存</button>
        </div>
        <div class="form-content">
            <div class="layui-collapse" lay-accordion>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供应商基本信息</h2>
                    <div class="layui-colla-content layui-show">
                        <table class="layui-table" lay-skin="nob">
                            <tr>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">代码*</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname" placeholder="请输入名字">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">唯一码</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname" placeholder="请输入名字">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">名称*</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname" placeholder="请输入名字">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">简称</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname" placeholder="请输入名字">
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">企业类型*</label>
                                        <div class="col-sm-8">
                                            <select name="" id="" class="form-control">
                                                <option value="">请选择</option>
                                                <option value="1">私营</option>
                                                <option value="2">国有</option>
                                            </select>
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">企业性质*</label>
                                        <div class="col-sm-8">
                                            <select name="" id="" class="form-control">
                                                <option value="">请选择</option>
                                                <option value="1">国营</option>
                                                <option value="2">民营</option>
                                            </select>
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">法人代表</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname" placeholder="请输入名字">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">公司总机</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname" placeholder="请输入名字">
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">传真</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname" placeholder="请输入名字">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">总经理</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname" placeholder="请输入名字">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">总经理手机</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname" placeholder="请输入名字">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">销售负责人</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname" placeholder="请输入名字">
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">联系电话</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">邮箱</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">成立日期</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="SetUpDateSelect">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">注册日期</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="signdate" value="2018-6-6"
                                                disabled>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">网站</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">邮编</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">时区*</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">语言*</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname">
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>

                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">国家*</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname">
                                        </div>
                                    </div>
                                </td>

                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">地区*</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname">
                                        </div>
                                    </div>
                                </td>

                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">城市*</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname">
                                        </div>
                                    </div>
                                </td>
                                <td></td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <div class="form-group">
                                        <div class="row">
                                            <div class="col-sm-6">
                                                <label for="firstname" class="col-sm-2 control-label">地址</label>
                                                <div class="col-sm-10" style="padding-right:20px">
                                                    <input type="text" class="form-control" id="firstname">
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                </td>

                            </tr>
                            <tr>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">是否上市</label>
                                        <div class="col-sm-8">
                                            <div class="checkbox">
                                                <label>
                                                    <input type="checkbox">
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">上市时间</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname">
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">上市地点</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname">
                                        </div>
                                    </div>
                                </td>
                                <td></td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">是否SIH供应商</label>
                                        <div class="col-sm-8">
                                            <div class="checkbox">
                                                <label>
                                                    <input type="checkbox">
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-4 control-label">物流距离</label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" id="firstname">
                                        </div>
                                    </div>
                                </td>
                                <td></td>
                                <td></td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-1 control-label">经营理念</label>
                                        <div class="col-sm-11">
                                            <textarea name="ddd" class="form-control"></textarea>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-1 control-label">营业范围</label>
                                        <div class="col-sm-11">
                                            <textarea name="ddd" class="form-control"></textarea>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-1 control-label">主要产品</label>
                                        <div class="col-sm-11">
                                            <textarea name="ddd" class="form-control"></textarea>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-1 control-label">公司简介</label>
                                        <div class="col-sm-11">
                                            <textarea name="ddd" class="form-control"></textarea>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-1 control-label">组织架构</label>
                                        <div class="col-sm-9">
                                            <input type="text" class="form-control" disabled>
                                        </div>
                                        <div class="col-sm-2">
                                            <button class="btn btn-primary"><i class="fa fa-plus"></i> 上传</button>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <div class="form-group">
                                        <label for="firstname" class="col-sm-1 control-label">关联公司</label>
                                        <div class="col-sm-11">
                                            <textarea name="ddd" class="form-control"></textarea>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供方联系人信息</h2>
                    <div class="layui-colla-content">
                        <table class="layui-table table-condensed" lay-even>
                            <thead>
                                <tr>
                                    <th>操作</th>
                                    <th>职务</th>
                                    <th>部门</th>
                                    <th>联系人</th>
                                    <th>座机</th>
                                    <th>任职时间</th>
                                    <th>QQ</th>
                                    <th>联系电话</th>
                                    <th>联系地址</th>
                                    <th>电子邮箱</th>
                                    <th>备注</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td width="50"><i class="fa fa-plus" onclick="addRowbtn(0)" title="插入"></i> <i
                                            class="fa fa-trash delrow" onclick="removeRow(0)" title="删除"></i></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td width="50"><i class="fa fa-plus" onclick="addRowbtn(0)" title="插入"></i> <i
                                            class="fa fa-trash delrow" onclick="removeRow(0)" title="删除"></i></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td width="50"><i class="fa fa-plus" onclick="addRowbtn(0)" title="插入"></i> <i
                                            class="fa fa-trash delrow" onclick="removeRow(0)" title="删除"></i></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供方主要产品</h2>
                    <div class="layui-colla-content">
                        <table class="layui-table table-condensed" lay-even id="table2">
                            <thead>
                                <tr>
                                    <th class="text-c" width="120">经营状况编码</th>
                                    <th class="text-c" width="150">经营状况名称</th>
                                    <th class="text-c">描述</th>
                                    <th class="text-c">备注</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr data-index="0">
                                    <td>100</td>
                                    <td>配套业绩</td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr data-index="1">
                                    <td>200</td>
                                    <td>销售额年增长率</td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr data-index="2">
                                    <td>300</td>
                                    <td>客户颁发荣誉</td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr data-index="3">
                                    <td>400</td>
                                    <td>资产负债率</td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr data-index="4">
                                    <td>500</td>
                                    <td>技改和研发投入项目和费用</td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr data-index="5">
                                    <td>600</td>
                                    <td>更改过程的管理</td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr data-index="6">
                                    <td>700</td>
                                    <td>业务连续性规划</td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr data-index="7">
                                    <td>800</td>
                                    <td>社会评价</td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr data-index="8">
                                    <td>1000</td>
                                    <td>零售业</td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr data-index="9">
                                    <td>1100</td>
                                    <td>信息技术</td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr data-index="10">
                                    <td>1</td>
                                    <td>1</td>
                                    <td></td>
                                    <td></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供方业务信息</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供方财务信息</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供方资本构成</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">人员信息</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供方资质信息</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>

                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供方经营状况</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供应商配套能力</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供方主要客户</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供方产品质量</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供方主要生产设备</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">专用工装</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供方主要检测设备</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">供方其它信息</h2>
                    <div class="layui-colla-content">内容区域</div>
                </div>
            </div>
        </div>
    </form>
    <script src="static/lib/jquery.min.js"></script>
    <script src="static/bootstrap3.3.6/js/bootstrap.min.js"></script>
    <script src="static/lib/bootstrap-table.min.js"></script>
    <script src="static/lib/bootstrap-table-edit.js"></script>
    <script src="static/lib/bootstrap-datetimepicker.js"></script>
    <script src="static/layui/layui.js"></script>
    <script src="static/style/mend.js"></script>
    <script>
        $(function () {
            //提交表单
            $('#submit').click(function () {
                layer.msg('添加成功', {
                    time: 1000,
                    end: function () {
                        parent.layer.closeAll();
                    }
                });
                // $.post(url, {
                //     data: decodeURIComponent($('#form').serialize(), true)
                // }, function (res) {
                //     var data = JSON.parse(decodeURIComponent(res, true));
                //     if (res) {
                //         layer.msg('添加成功', {
                //             time: 1000,
                //             end: function () {
                //                 layer.closeAll();
                //             }
                //         });
                //     } else {
                //         layer.msg('添加失败', {
                //             time: 1000,
                //             end: function () {
                //                 layer.closeAll();
                //             }
                //         });
                //     }
                // });
            })
            $('#SetUpDateSelect').datetimepicker({
                weekStart: 1,
                todayBtn: 1,
                autoclose: 1,
                todayHighlight: 1,
                startView: 2,
                forceParse: 0,
                language: 'zh-CN',
                //format: 'yyyy-mm-dd hh:ii:ss',
                pickerPosition: 'bottom-left',
                showMeridian: 1,
                //lk 只选择日期不选择时间
                format: 'yyyy-mm-dd',
                minView: "month",
                todayBtn: true
            });
        })
    </script>
</body>

</html>